package main; 

import java.io.*; 
import java.util.Date;
import java.util.Random; 

public class MakeFile { 
public static void main2(int n) { 
	
   
   BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); 
   
   //定义文件大小的单位，1为KB，2为MB，3为GB 
   //定义文件的大小 
   int lager = 1; 
   //定义文件存放的分区，默认为C盘。 
    FileWriter fw = null; 
    //新建文件 
    try { 
     fw = new FileWriter("/Users/wuxiaobin/git/lsp/lsp/wendang/"+n+"test.txt", true); 
    } catch (IOException e) { 
    } 
    PrintWriter pw = new PrintWriter(fw); 
    lager = lager*512; 
    //开始写文件 
    for (int i = 1; i <= lager; i++) { 
    	
    	if(i%10==0){
    		pw.print("\r\n");
    	}else {
    		pw.print(getrand()); 
		}
    }
     
    pw.close(); 
    try { 
     fw.close(); 
    } catch (IOException e) { 
     e.printStackTrace(); 
    } 
} 


public static void main2(int n) { 
	
	   
	   BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); 
	   
	   //定义文件大小的单位，1为KB，2为MB，3为GB 
	   //定义文件的大小 
	   int lager = 1; 
	   //定义文件存放的分区，默认为C盘。 
	    FileWriter fw = null; 
	    //新建文件 
	    try { 
	     fw = new FileWriter("/Users/wuxiaobin/git/lsp/lsp/wendang/"+n+"test.txt", true); 
	    } catch (IOException e) { 
	    } 
	    PrintWriter pw = new PrintWriter(fw); 
	    lager = lager*512; 
	    //开始写文件 
	    for (int i = 1; i <= lager; i++) { 
	    	
	    	if(i%10==0){
	    		pw.print("\r\n");
	    	}else {
	    		pw.print(getrand()); 
			}
	    }
	     
	    pw.close(); 
	    try { 
	     fw.close(); 
	    } catch (IOException e) { 
	     e.printStackTrace(); 
	    } 
	} 

public static void main(String[] args) {
	main2(2);
}
public static String getrand(){  
	char []c = new char[30];  
    for(int i=0;i<26;i++){  
        c[i]=(char)('A'+i);  
    }  
    
    return ""+c[(int)(new Random().nextInt(26))];
} 
}